#include <iostream>
using namespace std;
int n;
int main()
{
    cin >> n;
    int ret = 0;
    for (int i = 1; i <= n / 2; i++)
        ret += n / i;
    ret += (n - n / 2);
    cout << ret << endl;
    return 0;
}